import request from '@/utils/request.js'
// 获取联想建议 搜索
const suggestListAPI = ({ q }) => request({
  url: '/v1_0/suggestion',
  params: {
    q: q
  }
})
// 搜索结果列表
const searchResultListAPI = ({ q, page }) => request({
  url: '/v1_0/search',
  params: {
    q,
    page
  }
})
export {
  suggestListAPI,
  searchResultListAPI
}
